<%= t("devise.mailer.invitation_instructions.hello", email: @resource.email) %>
<br />
<br />
<%= t("devise.mailer.invitation_instructions.someone_invited_you", name: @resource.invited_by&.name, url: root_url) %>
<br />
<br />
<%= link_to t("devise.mailer.invitation_instructions.accept"), accept_invitation_url(@resource, :invitation_token => @token) %>

<% if @resource.invitation_due_at %>
  <br />
  <br />
  <%= t("devise.mailer.invitation_instructions.accept_until", due_date: @resource.invitation_due_at.strftime('%A %B %d, %Y at %I:%M %p')) %>
<% end %>

<br />
<br />
<%= t("devise.mailer.invitation_instructions.ignore").html_safe %>
